package com.hejjon.knowledgebase.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hejjon.knowledgebase.entity.ExportProperty;
import com.hejjon.knowledgebase.model.request.EntryPropertyRequest;
import com.hejjon.knowledgebase.model.wrapper.DataGrid;
import com.hejjon.knowledgebase.vo.EntryPropertyVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author caoshi
 * @since 2022-12-08
 */
public interface EntryPropertyService {


    /**
     * 新增资产入库
     * @param request 资产入库请求
     * @return
     */
    Long addEntryProperty(EntryPropertyRequest request);


    /**
     * 删除入库资产
     * @param idList
     */
    Integer deleteEntryProperty(List<Long> idList);

    /**
     * 修改入库资产
     * @param request
     * @return
     */
    Integer updateEntryProperty(EntryPropertyRequest request);


    /**
     * 入库资产列表
     * @param request
     * @return
     */
    DataGrid<EntryPropertyVO> listEntryProperty(EntryPropertyRequest request);

    /**
     * 根据id获取入库资产
     * @param id
     * @return
     */
    EntryPropertyVO getEntryProperty(Long id);


    /**
     * <p>
     * 出库资产表 服务类
     * </p>
     *
     * @author caoshi
     * @since 2022-12-12
     */
    interface ExportPropertyService extends IService<ExportProperty> {

    }
}
